|
|
<DIV id=list>% ~. d3 Y) U p o2 j$ q
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>5 N! k" O" {: D/ _ A/ V9 |! q, G
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
* e) H4 U ]" ? G<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>- X _! I- h$ V( p- G( _3 W
<DIV id=lrc3 style="COLOR: #666666"></DIV># l( J* r+ e9 t4 h
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>! n$ J2 M( f4 \0 k! v
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
3 T+ \$ f! q; A* }% G* |<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
6 t- G* m- x; I$ J( z<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>/ r, t2 Q0 D7 K! y& d- l: S" O9 T
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>. X0 d( Q- u" L n
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>( x4 i4 x' m7 m# i a( ]) k
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
3 v7 P) z0 V0 L! i& B<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>- O$ r/ r. W$ E) `, M# Q
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
& {2 G! L; G3 y. O. q# Q2 \<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>) i# V/ A+ h5 p& J; T5 F+ H
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
; g ?. r; r! }' @4 `# K) G5 P<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
" c3 H" k/ o/ G4 V5 M<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>' _ g3 h! j9 f4 s
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>) `% A X2 U2 _. X e2 W
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>! O: b w/ `2 p
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
! b* b- I: g( i& h<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>! p( o3 V( ^2 A8 c K1 [6 i
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
, B1 J' M( V/ ]9 q0 Q<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
4 Z+ _$ g) ?/ j w<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
. V; `! i8 y. S4 g1 |<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>4 I' g; X( L9 t( X8 T
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV> d1 \) a' j1 }
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
) U6 H0 y# S: {9 T4 k<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
9 }8 Q4 ~. }! v1 S! F& b<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>1 i o2 w' {% a S8 p
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
# I! @( f6 ?$ r; D3 `<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>* g$ o: M" c% `, q
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>) @4 _( x. D3 M; J* S
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
5 `( _3 }4 I6 \& |3 _8 ^9 O<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
8 U" R: M6 [. B# O<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
, w" i. m5 [- X3 ?6 R' D' Y. @6 D<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>' d8 ]$ {% ~* q9 x# {* k$ V2 n
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
; X( Y. p$ R9 B6 r X<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
) P+ t6 @/ Q" @( K/ F0 ^5 O/ b<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV># g# W( Y9 G0 g
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
! y3 o ?# \/ z+ e1 Y1 D" A" c<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>% E1 C9 A$ R) ]+ T- {8 p( Q5 |
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>; B' Q4 R# D/ }' Z2 P: y
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>) T8 N1 e1 b/ [7 z6 x9 T
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV># {# ]; t2 P( I$ W" O. {
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>7 t$ I/ z- T0 z
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
/ i. ^0 E/ w8 c3 N3 \; _ o<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
, Q# @1 g9 s8 u- ^<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>2 |1 w* h: z6 Z; U9 J+ M
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
6 t: D. r' F3 p; ]<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
- S0 J) }; A5 _7 F, @<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>8 Y1 u1 R! Z9 j0 B4 U
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
# j7 ^) n9 _& X6 I6 y9 ]6 M; B* o1 `<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
* e" U+ ^! l8 M; t: E<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
) g) ` _+ t1 S' C<DIV id=lrc style="DISPLAY: none"></DIV>
$ w% ?' `% B% g# A+ j$ D<SCRIPT type=text/javascript>
( w% Y( s$ C1 X4 ~! ]document.domain="1ting.com";) c* i0 R0 n" }' y
var colorPasted="#666666";
{* [% Z! Z n; b% T% `var colorPlaying="#ff3300";
2 @; x- g( b2 U X, ~( h0 g xvar colorNormal="#000000";
* B( c$ r4 S$ f8 _$ = function (a,g){) W/ e* y7 L$ `8 G; o
var o = new Array(); ! I4 w0 Q A1 N5 }% Z$ X3 n& e
var c = new Array();
- o N0 v/ X ~9 d6 P% q3 u; w5 e var r;
8 k5 I- e! g: s' w4 {, }' \ var u; 9 b% K7 H% [8 P+ i( C/ h+ p
var a = a.split(';');
* y. ]3 u5 E, ~" J3 Y" F2 m. |+ `5 ]/ {0 s2 o
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");0 z* `( v* q5 k- H& ~
for(var i=0;i<e.length;i++){
% D3 `# S& i: T. `1 p/ ? eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
/ C" ^3 N# _$ O% _8 q }! U) A/ b' d% w$ w; {
# l: h' f1 X+ L! `3 e) q
after = function (t,d,s){, v' L% S( l# @0 e4 G" ?
$after = function (){9 I8 k7 J$ Z2 C# M. r
var $n=document.createElement(t);
0 \( Y% g0 K0 }' p if(d!=null){
q* i' ]. ?" _( z8 P$ }6 D $n.id=d;
7 X3 r( w0 ?) I6 M6 i4 V+ D }
* a/ J6 K3 `( O# p
( U5 o+ d; S9 L u.insertBefore($n,null)
8 E+ S! [% N: n- S: Y5 ^# i8 r r = $n;
3 m2 f. F. p6 l% n u = $n;
% B# n, Q' M0 t) X: o3 K }
2 g; L3 D* l! K# q" I7 x $for(s,"$after")
8 u( @" [8 |. s0 B }6 f% [) J: x3 s: G8 _) l% Y
3 y/ P# W: h. L* r3 \' D show = function (s){
$ l6 {# k' m3 x $show = function (){
) i2 ^+ K: m+ F3 A u.style.display!="none" ? style("display:none") : style("display:block") ;8 M& b$ f9 Q' W
}
9 ]5 {! N1 `9 A) n9 o, [ $for(s,"$show")+ v/ c" F5 A) Q. N* I
}
& d3 s( b% L% q# L, b3 h# `4 ?* l( N% Q4 l$ Q O. ]& \8 y
check = function (t,s){. u, l0 b+ c+ A0 [% t
$check = function (){4 z# ?1 p# L, e- `' P% h5 {' g+ F
if(t=="2"){' Q R! F. g- K F! N2 [/ ~
if(u.checked){* u$ E4 K/ X: y# T o/ E- g3 G
u.checked = false;
5 \1 A1 d# }$ ] }else{
# v" Z1 }. J/ ^ u.checked = true;+ m) K" F/ S3 m& D
}7 A- z- W9 h' l' @/ s0 K
}else{
8 a$ l. L1 s2 m6 ^# p6 g) v8 I u.checked = t*1 ;
! ?! d6 S2 \6 a' D9 I4 C! k }
& K- @* b X* z2 i }3 P$ ~/ G6 V$ k' r* e1 q7 }8 Q
$for(s,"$check")
9 ^& Z+ L8 X& w; w8 J$ a& ? x }
+ q4 |/ l" f$ P
( U8 N' P, l# U' @3 }- q) \ style = function (v,s){
9 P$ I- L! D+ s3 W& M $style = function (){
3 m1 g& Z5 \8 m/ U5 `9 _ var $n = v.split(",") , o5 x# v7 y1 ^+ y6 B8 O
for (var i=0;i<$n.length;i++ ){
" T4 @/ U l9 s2 S d var $m = $n<i>.split(":") 7 B9 }" n; ^" V1 X1 _0 N. Q3 H+ L
eval("u.style."+$m[0]+"='"+$m[1]+"'");
5 H0 o9 y& o k }
& n/ V$ M1 f- f* f. m j, I }# v" b; |" ?0 V7 v
$for(s,"$style")# v' A, a; z8 E
}+ q3 F$ U6 T# F1 S: B" v' a
6 p; R0 E3 w5 K& |# p0 n! W% X1 ^ value = function (v,s){9 _5 E: I1 L6 s
var $n= $this (v);; z1 e# }6 W+ _
$value = function (){6 t6 Q9 c- P* ~/ |+ @. h* I
u.value = $n R( w% x$ @. b# C& s8 w* @, a
}
F, [' R7 u7 U3 y" o% \+ h $for(s,"$value")
3 X3 ^( k! P% u) a$ I+ D6 l# \& M }
, s# w, n5 Q0 D& A) N3 W1 \# u1 w- ` m% {( k. X8 \$ |
text = function (v,s){
8 d4 Q0 a% s" k4 j, D var $n= $this (v);
0 `2 ?1 H6 Q: ~! m8 f6 a% a; z7 s $text = function (){
/ [- M' X$ y" C
0 J$ \# ~7 ?2 P e+ I u.text = $n5 g# r1 Q- q: g2 h- ^: C& U2 v& t/ |
}
! Y% ^8 E0 G y) R) P- Y $for(s,"$text")
; C: Y$ m' Z! h* r* Z }" V. w. o" r: ^" M8 a
3 o- k% F2 M. f `9 T/ P: d
innerhtml = function (v,s){0 |3 |. q+ ]2 p, W
var $n= $this (v);" d& W# s' t1 i( t+ J( X" c H# i7 d
$innerhtml = function (){7 O5 q& Q x4 \+ s# D+ W
u.innerHTML = $n
. [* E& v2 ^9 Q4 L0 p9 q }
+ a. o7 k8 k0 v" F9 m0 R $for(s,"$innerhtml")
) F) W. D5 W; X: b: H( I1 H4 p }
( m% R4 D0 N2 I P% x9 X ) W3 n8 O# b" T2 K/ b7 F
removechild = function (s){4 s; {9 C7 {1 T b/ ^) [1 i# p0 l% i% r
$removechild = function (){2 Q* v- R3 b+ L% c5 G" [' \
u.parentNode.removeChild(u). |) k+ N6 @1 ?! h! ^, d/ I
}1 Z# n. r& |( d9 I
$for(s,"$removechild"); ?: o I) w' j* r8 J a: y5 u
}) B7 l. ?- P, i; w5 \7 |
+ {- T$ g, r2 `+ n8 ^
$this =function(v){! t% j/ W7 O; B' Y: a' l
if(v.indexOf("this") == 0){2 I* v0 e" v- v# c) w& \- \% U
return eval(v.replace("this","u"))
5 T7 W1 K( f0 d9 B6 _5 R( M$ n }' M5 j( D8 M- s
return v;
8 I b/ t# U; Y& i) N: {: Y% s/ M }
* K+ l6 ?! v; G* W- [+ H& D* `0 F8 L: |
$event = function (s){
/ k0 z# g' @% h0 L/ X& K var $n ="u."+s+" = function(){$work(this,s);}"
" }; H+ J- b. G/ ^ return $n;
# {8 y4 A) y' _4 d4 _ }
6 G' Z+ v8 j' m. G$ O
" T$ o: U$ J' k) b5 \$ R3 m1 g# L% X $replace = function (s){$ M! D. r. s3 A9 Q; ~# ^
9 h" n- f3 a5 Z# `+ F. k& B$ d2 N. z' w
}
: ?" G) J3 @( t8 V) d3 a4 h( g0 U. d7 Y' }. }
$for = function (s,c){9 l+ o d8 m+ r9 t
var $n="this."+c+"()" ;
1 i3 b/ l( B% p% s" c# s1 x1 k if(s!=null){, |' D; {7 n+ S3 z8 W
var $m =$test(s);
( v# S" q: }) O& Q9 X; ` for (var i=0;i<$m.length ;i++ ){
! R/ p e6 H$ \, @1 C$ y u = $m<i>;" ~( r# `4 u, U7 h4 e N9 e( h
eval($n);
" Z! \* K/ w' j ` }
3 z0 u! x3 Q7 I/ K7 r }
' C% L0 m0 Z {% h H9 y else{
9 I3 x( ]" A2 P eval($n);
+ @' k6 l! G) Q& T1 ~ }1 G: _; |9 ^( l* ~5 O, s$ D: D7 V
} }- T& i8 H& o( u' A \
3 w" v# |! ^. D0 _& q9 ~6 z6 L2 H $test = function (a){# j& \3 `; F0 F) N+ q+ S
var o = new Array();$o(a.split(';'),o);
) V/ x2 R' {6 l* S4 N. ~* B6 o return o;
2 z ~- u% _. l- r' f }' }4 ?+ x$ z% Y$ Y4 t( x9 p' q! ?
) Z( i8 i6 R6 Z $format = function(s){
% s( V9 {8 p* Q! W while (s.indexOf("'")>0){% _& O% M( K" C* O* p
s=s.replace("'","\"");* R$ @* |. f8 q) M% ~" ^
}/ ], {! r) a% e8 j& ^
while (s.indexOf("][")>0){6 ~* Y8 G+ A0 u& [# m2 C
s=s.replace("][","','")
! ]$ Q( i3 n! H3 E2 ]$ X }
4 _- B% R, O5 R$ \6 ` while (s.indexOf("[")>0){
7 a, M! F( j, U# c% G7 a s=s.replace("[","'").replace("]","'")
# t* G0 ^6 j) h5 g' v } ! ] ]! U/ u4 f4 |
return s;
$ w2 G; R3 n* G/ r" k; [ }0 C# X* F; h$ J+ M% }4 l
+ T, U! `" W$ o& g) X
$work = function(w,s){
+ s4 e) R7 b- S Z& h' m u=w;eval(s)
3 h* {1 r2 Y& h) w5 K3 o }3 f$ y" o) ~* ~7 ~
* n+ n: K) Q* j l1 H( I# X2 w7 D $id = function (s){
B+ [% A# M7 |6 T. G return document.getElementById(s);
# B7 N$ q# ?9 c% Q }
9 L* f, r3 g9 F4 T/ `5 `) {, Y
/ k! X" a( k1 g( k $name = function (s){0 ]: x# i: N# _3 u6 x7 K
return document.getElementsByName(s);% p+ V" G; R- _- t( G3 @$ B2 ]8 }
}
- D. ?# e1 @% o# T9 j4 e( z9 o4 Q3 y! z! ~7 ~% {
$tagname = function (s){) N' `9 n* C& {5 q5 k% C. {
return document.getElementsByTagName(s);1 [$ Y1 z) z7 W: O5 e
}1 _5 B- c( h" ~4 g( B
* `! ~- e8 ]( ^, \# I
$o = function (a,o,c){3 m0 e; [- U* K2 h' P# m6 K6 ^( s$ E3 ^2 P
$push = function (n) {' _! z* o' c7 S3 r5 f, x' S9 ]
for (var i=0;i< n.length;i++ ){$ K" Y+ {. M$ ~& X
o.push(n<i>);0 H; B) I& O- I- a
} 2 x( u. E0 } ]" ?, r3 w* j7 d
}
& Z; @* G3 E& A3 \! f for(var i=0;i<a.length;i++){- T) `9 N2 E7 ]6 T) J u$ `. T
if(a<i>.indexOf("(") >= 0){
& _3 L% r- b4 L4 E! U c.push(a<i>);* D( s! M8 i/ }
}
g/ M0 W4 ?3 E F4 T! x* n# I if(a<i>.indexOf("~") > 0){. k2 [& I3 E7 ]- T" \ c, p t3 G# Q
try {
& ]/ A/ N8 \' l# g9 O1 L $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
$ {& J- Z, a3 [/ p0 j2 f1 ~1 _ }catch(e)
+ \0 M2 m! t& H+ q {} }! ~& {/ }- Q' |6 z* @/ H
}4 o _2 m4 ] x5 i; \5 j6 e+ ]
else{) O5 ^' O ] y% u5 Y0 h
if(a<i>.indexOf("#")==0){; b$ T: O9 O8 E7 G( ^
o.push($id(a<i>.replace("#","")));
" B4 b: r* q6 \ }
* v1 b: T4 u" h$ t* P if(a<i>.indexOf(".")==0){
' u2 `6 @2 I, e $push($name(a<i>.replace(".","")));
6 B2 R0 v0 \" y9 p! A1 n }
- v+ r% S" [) }) S if(a<i>.indexOf("@")==0 ){3 m' H3 \8 Q8 j% I
$push($tagname(a<i>.replace("@","")));$ j- ]/ J& R' {+ ]7 Q: a# R
}
[: I% }! m+ D8 h9 w if(a<i>.indexOf("*")==0){
& M' ?4 J$ S4 S9 m2 i, K$ G6 @ $p= a<i>;
s" I6 e. C1 v* E- e" R: F if($p.indexOf(".")< 0){: M3 Q, k! T) W4 H- y: _* S2 k
$p = $p.replace("parent","parentNode")
# q, Z2 F. O8 U }1 Y# o5 T, Y) F" ~8 g" L
var $p ="u."+$p.replace("*","");" k: d3 u! z/ `1 P, y7 m8 t
while ($p.indexOf("parent.")> 0){4 D0 T2 Y* B+ R. m3 u: r5 `
$p = $p.replace("parent.","parentNode.")
. q% |2 s: m3 d }* i+ f8 e$ g' ^& \8 W, C! Y b% ?
while ($p.indexOf("child{")> 0){
1 o1 Y, K) b8 X! c6 ~# L0 u $p = $p.replace("child{","childNodes[").replace("}","]")
/ `9 ~8 R* X: [; ]0 `5 O; v }9 d; S6 \6 U, _* s2 C$ ~, p
o.push(eval($p));
: @" ?4 p/ A" M }0 W* q7 p0 o$ m, G: m. E& ^5 W
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
0 c- T: R! T* w x* c! B% A" T o.push(eval(a<i>));: H2 X" g7 v( c8 U1 }1 s: J6 [
}$ H& t4 s _9 j3 j9 b- ~) G* l
}: k. ?- k0 Y8 A- a' I, q% I
if(g!=null){ ! n" R; X5 L5 i% D- _- C
o.push(g);g=null( D4 T- r2 \# C
}
: a$ }" Y e5 Y' f" [" u# b" ~. ^ }
- H, p e8 a2 Z! q1 d8 U! z }! \6 _7 ~3 c. W* p, ]
/ I" G ?/ ? r# ^9 o $o(a,o,c);/ N& |' X) a: ^. X: G+ l. O3 i9 U
( C [5 F b2 W, u: o: v) v for(var i = 0;i<o.length;i++){
! K2 P. E) M2 u# n5 F$ n for(var j=0;j<c.length;j++){# y! D. ?+ ~8 O4 Q R" e
u = o<i>;eval($format(c[j]));
5 k7 ^& u- v2 E2 U }
|4 P" [- T* h' K P }5 x) q/ d b: w+ q
5 z8 ]0 o4 v; T2 D2 s# \ if(o.length == 0){
0 D: \! L3 p% U! S for(var i=0;i<c.length;i++){8 {$ T2 c* H, A( ~3 i
eval($format(c<i>));
& y3 o& e9 _8 L }3 A& g" X4 t5 K S) e
}
; X( h; y& F& V7 ]% M# j3 f 5 M! Q4 J% m5 [
if(r!=null){; q7 [4 K W5 q2 l% s3 j8 k
return r;
/ Q) G. w" {0 {: W }
R/ H9 G; R0 r" V
6 e( m# L& S1 O7 p! s4 w9 N if(o.length==1){0 y! @" S5 J* V4 @4 ]7 n
return o[0];8 E- i6 g1 u/ ?- P
}
/ e/ z" c$ q" I" N8 W5 t( j# m else{
V( [ i8 x j, {; z i return o, ?. `7 E7 i. D
} / n8 A& G. l6 _1 V) W# ^& [
/ W$ S" ^8 P1 T" l$ v% b# ] }
+ u4 S, ]) ~& r' a0 hvar lrc =$("#lrc;show()").innerHTML.split("[");) X- @* u9 r- u. Q, Z& b
if(lrc.length>5){
4 S) G5 u: O* Bvar array = new Array();
' O1 K3 z2 c9 P! u# }) b& Tfor (var i=0;i<lrc.length ;i++ )$ |# y) ?& w' L) H7 Z# u3 u
{
; Y$ }0 d! V3 u$ o+ e var g = new Object();
$ Z% `- R6 i" B; ~' ?: p- L t= lrc<i>.split("]");
6 o- o4 n- ^1 y* e g.time = getTime(t[0]);
! ^; ]; B! l' E- Q1 ? if(isNaN(g.time))% k& T2 ]. @& v- V, u. L2 n
continue;3 Z) @# e$ G/ \0 g. ]) c
g.c = t[1];8 Q8 O8 z" Y# W
if(g.c == "")
9 I6 L3 O y# R$ q1 F1 j g.c = getNext(i);
J1 k( \9 D; P8 [( e. l array.push(g);
}: S' E: C% |3 a5 N}
- B3 t9 h9 Q: w- _# Z x- v, |, `array.sort(function(x, y) {
9 V" ^+ F$ J( O! Q if (x.time>y.time)
7 U0 ~% L: i" q) d return 1;
' v; k7 y6 B! t ~. g! c' N0 z else if(x.time<y.time)
$ G; Z% e' h& R) L! D return -1;
8 k4 A2 F% V) N B else
7 n, l2 \' J3 \( ?9 V: r return 0;
) j" D7 `* g4 V$ |% @# n } # M8 N+ |8 |- m6 r& d
);/ p6 E. \& g% C! a1 X8 u. d% A
for(var i = 0;i<array.length;i++)
/ \0 X: t# X9 m1 M$ _3 V% T3 U{1 y8 h( |7 l+ Y6 W# t" n! g
var g = array<i>;; k* _1 s" P0 _, x' [1 [
if(!g.c){
]- U) j- o6 R- i- U g.c="";
6 Q: D$ E2 F5 v9 E" ~# V' U }3 C8 S! I; ^5 j! V
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
2 E% a5 I7 ]8 f' T' ]$ u}8 p$ L3 d5 V! ^7 }( W( d
var time = setInterval("lrcList()",500);
1 z3 ?5 l$ ]/ Z: \}else{
+ v$ m. O8 Z: C* T $("#list").innerHTML=$("#lrc").innerHTML;+ n5 x) v3 c4 n2 I& `
}
* Y5 Q7 ~6 a3 d& `8 p S8 Hfunction getNext(i)' _0 F) O4 N2 Q# [& q# i
{
; W3 u/ a) c! M( S8 b var result = "";0 s# d7 I! ^3 p N/ i8 y8 m
var i = i+1;8 F' |; p/ G# S, J
t = lrc<i>.split("]");- f8 j* V0 E% g7 R7 ?- r) B. Z' A
if(t[1]=="")' K5 C: p0 {8 F7 h2 B5 o3 F) m g
result = getNext(i);
7 E( U5 [7 {8 z3 y2 R/ E$ M else7 s% Y3 l1 O, Z9 ]" d) g
result = t[1]
! b" H3 q1 {! Q- t2 Q$ E5 k% B return result;0 M/ y' I+ S& B5 |/ I0 S' e% t
}
7 b* a3 J* d5 w- `" C; p
- }; A4 S% ~2 Hfunction getTime(str)5 q0 `/ ]" p# S
{5 o S4 Z) |1 K3 {
var time =0;' p: r/ `$ [1 {* |6 i( Y3 G0 ]% d
var ta = str.split(":");2 U% M( h. z0 \9 m' i
if(ta.length<2)
! i3 E3 e; i: t# P5 p/ x return time;
3 A; i% ]/ i9 u% u m6 K; i/ v' R( [' M! T; e2 O
if(ta[1].indexOf(".")>0){
7 o) M4 w3 B; r% A. Y/ ?0 t var tb = ta[1].split(".");
2 I& B# p& `. l5 E4 l* S0 D time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;% p0 E1 }2 v# C. V9 |
}5 S7 d; `4 Z+ Q
else$ I* ~" m- V; p
time =ta[0]*60*1000+ta[1]*1000;
3 q' t h. \1 Y% j return time;
- E- U) i( n2 s0 U1 H/ q/ l7 @}+ c4 j, o" }. o, R: O. I- \9 W
var preTime = 0;1 A H) K& x" F
var nextTime = 0;" K7 {' [" K$ {& T3 E+ w
var currIndex =0;2 b; l% _' j8 L! P$ H. z% t' q' R
function lrcList(){
- O [4 o3 ^" t: H/ l. ~ var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
/ \- y6 P* A8 m' `+ i3 B' r c s = s*1000;5 K0 e1 N7 f: V. P
if(s==0){
( `& L8 ~$ O( B currIndex =0;# Y. O/ I; ]$ E) E+ \" D
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
' \- E, m' y; ^7 h( G7 x' m: Z for(var i=0;i<array.length;i++){* k: z' K4 a/ }% ~
document.getElementById("lrc"+i).style.color=colorNormal;
8 J3 g# q: Y4 O0 [2 m) R0 x" H }
7 a' Y; {. I M0 _5 ]/ l3 n return;
/ v( D9 P7 l3 M* F }
: x' j) y- h+ E* J& ^ if(s>0&&currIndex<array.length-1)! z( m; {4 P: s q4 B- N; _$ U
{ 3 w5 B$ E5 q; _4 p- ?5 p& z5 a7 ^3 G
preTime = array[currIndex].time;$ A: p8 s: y# D% L1 a8 O9 _
4 @( x7 M: W( I5 l
nextTime = array[currIndex+1].time;
$ G, I8 M: A6 O5 S& C0 x/ k
g5 c0 \& B2 @2 |, M7 T% ]1 O if(s>=preTime&&s<nextTime){
# \% X. f K% G, v$ p6 G; r }
. P: w3 v9 ?' o/ G else if(s>=nextTime). D8 I% c. _! l! T$ ~5 T- f+ D
{
* r% }+ X. {- P6 ]+ k. z. S9 U document.getElementById("lrc"+currIndex).style.color=colorPasted;
& P5 [3 p: d1 _/ r, j* z currIndex++;
1 z* ^2 t7 b J2 f; Y $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
$ m0 T% c1 L; u4 Z; ] document.getElementById("lrc"+currIndex).style.color=colorPlaying;' a# I& H# F) b& ^
lrcList();
/ L4 Z7 r' [8 }' j1 a3 s }
3 n1 M& N7 a' a4 g else{0 `6 f& h, n4 g4 V; m) c. q
document.getElementById("lrc"+currIndex).style.color=colorNormal;
' C; N2 }9 Y; N4 o9 e' O$ N currIndex--;# R3 {" M8 W8 m# J9 n+ s; N- M
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;, ~. n. d* A: O4 t
document.getElementById("lrc"+currIndex).style.color=colorPlaying; E0 {1 i) r8 [
lrcList();
0 [4 t; G ^9 `% x; Z5 {# Z$ B } 1 X% A2 X/ ?7 c, P8 @2 {
}% _9 h8 q+ y1 ?
else
* O9 |6 c6 s @( F. G {/ V: d' F: J6 {8 { Q
if(s<array[array.length-1].time){! w7 o+ H3 o* |: u
currIndex = 0;
* x- t6 ]* u) |& ]1 Q5 p: A3 t& G $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;! m5 G) q' p! _" o0 Q
for(var i=0;i<array.length;i++){" R/ C+ l3 x( G
document.getElementById("lrc"+i).style.color=colorNormal;, Z2 B: S4 Y9 g: V
}
- i- @' ]- d: Q5 c/ K lrcList();+ e+ I" f' z% R4 v1 V3 |
}. C5 g2 \+ K z& o5 O% H" |
}# g' K4 k4 z1 V# ]3 v- k* s) j
}; r& _* R7 {2 A! }- r1 M7 g
</SCRIPT>
/ J% B8 v. H( \1 R</DIV></DIV>' T P5 Y R3 |9 w* ^
) H1 _! z# n: j4 u/ R* @: u' w
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|